package services

import (
	"github.com/gin-gonic/gin"
	"hitme/go-api/logic/form"
	"hitme/go-api/logic/repository"
	"hitme/go-api/models"
)

type feedBackService struct {}

var FeedBackService feedBackService

// Create 意见反馈
func (s *feedBackService) Create(c *gin.Context, req form.FeedBackCreateReqForm) (*form.FeedBackCreateRespForm, error) {
	repository.FeedBackRep.Create(models.FeedBack{
		//Uid: global.UserId,
		Contact: req.Contact,
		Content: req.Content,
	})
	return nil, nil
}